<!-- HTML header for doxygen 1.9.7-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<title>libsir: The Standard Incident Reporter Library</title>
<!-- OpenGraph -->
<meta property="og:title" content="libsir: The Standard Incident Reporter Library">
<meta property="og:description" content="A lightweight, cross-platform C library for information distribution">
<meta property="og:url" content="https://libsir.rml.dev">
<meta property="og:type" content="website">
<meta property="og:image" content="https://libsir.rml.dev/res/libsir-og.png">
<meta name="twitter:card" content="summary_large_image"></meta>
<meta name="twitter:title" content="libsir: The Standard Incident Reporter Library"></meta>
<meta name="twitter:description" content="A lightweight, cross-platform C library for information distribution"></meta>
<meta name="twitter:image" content="https://libsir.rml.dev/res/libsir-og.png"></meta>
<!-- /OpenGraph -->
<!-- favicon -->
<link rel="icon" href="res/libsir-icon.png">
<link rel="icon" href="res/libsir-icon.svg" type="image/svg+xml">
<link rel="manifest" href="res/icons.webmanifest">
<!-- /favicon -->
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="rml-navtree.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libsir<span id="projectnumber">&#160;2.2.6</span>
   </div>
   <div id="projectbrief">Standard Incident Reporter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('tests__shared_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">tests_shared.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * tests_shared.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * Functions, types, and macros that are used by both the C and C++ test rigs.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> *</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * Version: 2.2.6</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> *</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> * ----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> * SPDX-License-Identifier: MIT</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> *</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> * Copyright (c) 2018-2024 Ryan M. Lederman &lt;lederman@gmail.com&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> * Copyright (c) 2018-2024 Jeffrey H. Johnson &lt;trnsz@pobox.com&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> *</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy of</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> * this software and associated documentation files (the &quot;Software&quot;), to deal in</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> * the Software without restriction, including without limitation the rights to</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> * the Software, and to permit persons to whom the Software is furnished to do so,</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment"> * subject to the following conditions:</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment"> *</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment"> * copies or substantial portions of the Software.</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"> *</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment"> * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="comment"> * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment"> * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment"> *</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="comment"> * ----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="comment"> */</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#ifndef _SIR_TESTS_SHARED_H_INCLUDED</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor"># define _SIR_TESTS_SHARED_H_INCLUDED</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="comment">//-V::522</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor"># include &quot;<a class="code" href="sir_8h.html">sir.h</a>&quot;</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor"># include &quot;sir/errors.h&quot;</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor"># include &quot;sir/internal.h&quot;</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor"># include &quot;sir/helpers.h&quot;</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor"># include &quot;<a class="code" href="ansimacros_8h.html">sir/ansimacros.h</a>&quot;</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor"># include &quot;sir/filesystem.h&quot;</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="preprocessor"># if !defined(__WIN__) || defined(__ORANGEC__)</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="preprocessor">#  if !defined(__ORANGEC__)</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor">#   include &lt;dirent.h&gt;</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="preprocessor">#  endif</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor"># elif defined(__WIN__)</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#  include &lt;math.h&gt;</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="preprocessor"># if defined(__cplusplus)</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="preprocessor"># define SIR_TESTLOGDIR &quot;./logs/&quot;</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor"># define MAKE_LOG_NAME(name) SIR_TESTLOGDIR name</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="preprocessor"># define TEST_S(n) ((n) &gt; 1 ? &quot;tests&quot; : &quot;test&quot;)</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="preprocessor"># define PRN_STR(str) ((str) ? (str) : SIR_RED(&quot;NULL&quot;))</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="preprocessor"># define PRN_PASS(pass) ((pass) ? SIR_GREENB(&quot;PASS&quot;) : SIR_REDB(&quot;FAIL&quot;))</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="preprocessor"># define INDENT_ITEM &quot;\t  &quot; SIR_BULLET &quot; &quot;</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="preprocessor"># define SIR_MAXTESTNAME 32</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="preprocessor"># define SIR_CL_MAXFLAG  32</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="preprocessor"># define SIR_CL_MAXUSAGE 256</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="preprocessor"># define SIR_CL_PERFFLAG      &quot;--perf&quot;</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="preprocessor"># define SIR_CL_ONLYFLAG      &quot;--only&quot;</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="preprocessor"># define SIR_CL_LISTFLAG      &quot;--list&quot;</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor"># define SIR_CL_LEAVELOGSFLAG &quot;--leave-logs&quot;</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="preprocessor"># define SIR_CL_WAITFLAG      &quot;--wait&quot;</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="preprocessor"># define SIR_CL_VERSIONFLAG   &quot;--version&quot;</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="preprocessor"># define SIR_CL_HELPFLAG      &quot;--help&quot;</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span><span class="preprocessor"># define SIR_CL_ONLYUSAGE     SIR_ULINE(&quot;name&quot;) &quot; [, &quot; SIR_ULINE(&quot;name&quot;) &quot;, ...]&quot;</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor"># define SIR_CL_PERFNAME      &quot;performance&quot;</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="preprocessor"># define SIR_CL_PERFDESC      &quot;Only run the performance measurement test&quot;</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor"># define SIR_CL_ONLYDESC      &quot;Only run the test(s) specified&quot;</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="preprocessor"># define SIR_CL_LISTDESC      &quot;Prints a list of available test names for use with &#39;&quot; SIR_BOLD(&quot;--only&quot;) &quot;&#39;&quot;</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="preprocessor"># define SIR_CL_LEAVELOGSDESC &quot;Log files are not deleted so that they may be examined&quot;</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span><span class="preprocessor"># define SIR_CL_WAITDESC      &quot;After running test(s), wait for a keypress before exiting&quot;</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="preprocessor"># define SIR_CL_VERSIONDESC   &quot;Prints the version of libsir that the test suite was built with&quot;</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span><span class="preprocessor"># define SIR_CL_HELPDESC      &quot;Shows this message&quot;</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span><span class="preprocessor"># define TEST_MSG(msg, ...) (void)printf(&quot;\t&quot; msg SIR_EOL, __VA_ARGS__)</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span><span class="preprocessor"># define TEST_MSG_0(msg) (void)printf(&quot;\t&quot; msg SIR_EOL)</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span><span class="preprocessor"># define ERROR_MSG(msg, ...) TEST_MSG(SIR_RED(msg), __VA_ARGS__)</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span><span class="preprocessor"># define ERROR_MSG_0(msg) TEST_MSG_0(SIR_RED(msg))</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="preprocessor"># if !defined(SIR_NO_TEXT_STYLING)</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="preprocessor">#  define PASSFAIL_MSG(expr, msg, ...) \</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span><span class="preprocessor">     (void)printf(expr ? SIR_GREEN(msg) : SIR_RED(msg), __VA_ARGS__)</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span><span class="preprocessor"># else</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span><span class="preprocessor">#  define PASSFAIL_MSG(expr, msg, ...) \</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span><span class="preprocessor">     (void)printf(msg, __VA_ARGS__)</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span><span class="preprocessor"># define PRINT_EXPECTED_ERROR() (void)print_test_error(true, true)</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span><span class="preprocessor"># define PRINT_RESULT_RETURN(pass) print_test_error(pass, false)</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor"># if !defined(__WIN__)</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="preprocessor">#  define HANDLE_OS_ERROR(clib, msg, ...) \</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span><span class="preprocessor">    do { \</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span><span class="preprocessor">        SIR_UNUSED(clib); \</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span><span class="preprocessor">        (void)_sir_handleerr(errno); \</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="preprocessor">        ERROR_MSG(msg &quot;:&quot;, __VA_ARGS__); \</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span><span class="preprocessor">        (void)print_test_error(false, false); \</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span><span class="preprocessor">    } while (false)</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span><span class="preprocessor"># else </span><span class="comment">/* __WIN__ */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span><span class="preprocessor">#  define HANDLE_OS_ERROR(clib, msg, ...) \</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span><span class="preprocessor">    do { \</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span><span class="preprocessor">        clib ? (void)_sir_handleerr(errno) : (void)_sir_handlewin32err(GetLastError()); \</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="preprocessor">        ERROR_MSG(msg &quot;:&quot;, __VA_ARGS__); \</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="preprocessor">        (void)print_test_error(false, false); \</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span><span class="preprocessor">    } while (false)</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span><span class="preprocessor"># if !defined(__cplusplus)</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span><span class="keyword">typedef</span> bool (*sir_test_fn)(void);</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span><span class="preprocessor"># else</span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span><span class="keyword">typedef</span> bool (*sir_test_fn)();</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span></div>
<div class="foldopen" id="foldopen00190" data-start="{" data-end="};">
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="structsir__test.html">  190</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> name; </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="structsir__test.html#a97462eb5ce36fd1356a8a7ba8124194e">  192</a></span>    sir_test_fn <a class="code hl_variable" href="structsir__test.html#a97462eb5ce36fd1356a8a7ba8124194e">fn</a>;         </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="structsir__test.html#a8d695474f2b903dc60bde93fc7aedc98">  193</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsir__test.html#a8d695474f2b903dc60bde93fc7aedc98">run</a>;               </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="structsir__test.html#a2b04eee959172419a381381ede8f30b4">  194</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsir__test.html#a2b04eee959172419a381381ede8f30b4">pass</a>;              </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>} <a class="code hl_struct" href="structsir__test.html">sir_test</a>;</div>
</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span></div>
<div class="foldopen" id="foldopen00198" data-start="{" data-end="};">
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="structsir__cl__arg.html">  198</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> flag;  </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="structsir__cl__arg.html#a9eb9a5f9208f07a0f500040fb1bca268">  200</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code hl_variable" href="structsir__cl__arg.html#a9eb9a5f9208f07a0f500040fb1bca268">usage</a>; </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="structsir__cl__arg.html#aea028faff6351db0e5ab6385f2d3a4a2">  201</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code hl_variable" href="structsir__cl__arg.html#aea028faff6351db0e5ab6385f2d3a4a2">desc</a>;  </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>} <a class="code hl_struct" href="structsir__cl__arg.html">sir_cl_arg</a>;</div>
</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span></div>
<div class="foldopen" id="foldopen00205" data-start="{" data-end="};">
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="structsir__cl__config.html">  205</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>    <span class="keywordtype">bool</span> leave_logs; </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="structsir__cl__config.html#ae73cba5e0fd464e754b96bca6055d30f">  207</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsir__cl__config.html#ae73cba5e0fd464e754b96bca6055d30f">wait</a>;       </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="structsir__cl__config.html#a44a0607e99fafb064d5c4d3a675e2ff9">  208</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsir__cl__config.html#a44a0607e99fafb064d5c4d3a675e2ff9">only</a>;       </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structsir__cl__config.html#abbe71d15c15073e2b4e6c7be16dc7ad3">  209</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structsir__cl__config.html#abbe71d15c15073e2b4e6c7be16dc7ad3">to_run</a>;   </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>} <a class="code hl_struct" href="structsir__cl__config.html">sir_cl_config</a>;</div>
</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span><span class="keywordtype">void</span> print_intro(<span class="keywordtype">size_t</span> tgt_tests);</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span><span class="keywordtype">void</span> print_test_intro(<span class="keywordtype">size_t</span> num, <span class="keywordtype">size_t</span> tgt_tests, <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> name);</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span><span class="keywordtype">void</span> print_test_outro(<span class="keywordtype">size_t</span> num, <span class="keywordtype">size_t</span> tgt_tests, <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> name, <span class="keywordtype">bool</span> pass);</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span><span class="keywordtype">void</span> print_test_summary(<span class="keywordtype">size_t</span> tgt_tests, <span class="keywordtype">size_t</span> passed, <span class="keywordtype">double</span> elapsed);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span><span class="keywordtype">void</span> print_failed_test_intro(<span class="keywordtype">size_t</span> tgt_tests, <span class="keywordtype">size_t</span> passed);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span><span class="keywordtype">void</span> print_failed_test(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> name);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span><span class="keywordtype">bool</span> mark_test_to_run(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> name, <a class="code hl_struct" href="structsir__test.html">sir_test</a>* tests, <span class="keywordtype">size_t</span> num_tests);</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span></div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span><span class="keywordtype">void</span> print_test_list(<span class="keyword">const</span> <a class="code hl_struct" href="structsir__test.html">sir_test</a>* tests, <span class="keywordtype">size_t</span> num_tests);</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span><span class="keywordtype">void</span> print_usage_info(<span class="keyword">const</span> <a class="code hl_struct" href="structsir__cl__arg.html">sir_cl_arg</a>* args, <span class="keywordtype">size_t</span> num_args);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span><span class="keywordtype">bool</span> print_test_error(<span class="keywordtype">bool</span> result, <span class="keywordtype">bool</span> expected);</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span></div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span><span class="keywordtype">void</span> print_libsir_version(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="keyword">const</span> <a class="code hl_struct" href="structsir__cl__arg.html">sir_cl_arg</a>* find_cl_arg(<span class="keyword">const</span> <span class="keywordtype">char</span>* flag, <span class="keyword">const</span> <a class="code hl_struct" href="structsir__cl__arg.html">sir_cl_arg</a>* args, <span class="keywordtype">size_t</span> num_args);</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="keywordtype">bool</span> parse_cmd_line(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv, <span class="keyword">const</span> <a class="code hl_struct" href="structsir__cl__arg.html">sir_cl_arg</a>* args, <span class="keywordtype">size_t</span> num_args,</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>    <a class="code hl_struct" href="structsir__test.html">sir_test</a>* tests, <span class="keywordtype">size_t</span> num_tests, <a class="code hl_struct" href="structsir__cl__config.html">sir_cl_config</a>* config);</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span><span class="keywordtype">void</span> wait_for_keypress(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span><span class="keywordtype">void</span> sir_timer_start(<a class="code hl_struct" href="structsir__time.html">sir_time</a>* timer) {</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span>    (void)_sir_msec_since(NULL, timer);</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>}</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span><span class="keywordtype">double</span> sir_timer_elapsed(<span class="keyword">const</span> <a class="code hl_struct" href="structsir__time.html">sir_time</a>* timer) {</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span>    <a class="code hl_struct" href="structsir__time.html">sir_time</a> now;</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span>    <span class="keywordflow">return</span> _sir_msec_since(timer, &amp;now);</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span>}</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span></div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span><span class="keywordtype">long</span> sir_timer_getres(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno">  290</span></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span><span class="keywordtype">void</span> sir_sleep_msec(uint32_t msec);</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span><span class="keywordtype">size_t</span> sir_readline(FILE* f, <span class="keywordtype">char</span>* buf, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span>uint32_t getrand(uint32_t upper_bound);</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span><span class="keywordtype">bool</span> getrand_bool(uint32_t upper_bound) {</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>    <span class="keywordflow">return</span> ((!upper_bound) ? <span class="keyword">true</span> : getrand(upper_bound) % 2 == 0);</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>}</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span></div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span><span class="keywordtype">void</span> rmfile(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, <span class="keywordtype">bool</span> leave_logs);</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span><span class="keywordtype">bool</span> enumfiles(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keyword">const</span> <span class="keywordtype">char</span>* search, <span class="keywordtype">bool</span> del, <span class="keywordtype">unsigned</span>* count);</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span><span class="preprocessor"># if defined(__cplusplus)</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>}</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span> </div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span><span class="preprocessor">#endif </span><span class="comment">/* !_SIR_TESTS_SHARED_H_INCLUDED */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aansimacros_8h_html"><div class="ttname"><a href="ansimacros_8h.html">ansimacros.h</a></div><div class="ttdoc">ANSI escape sequence macros.</div></div>
<div class="ttc" id="asir_8h_html"><div class="ttname"><a href="sir_8h.html">sir.h</a></div><div class="ttdoc">Public interface to libsir.</div></div>
<div class="ttc" id="astructsir__cl__arg_html"><div class="ttname"><a href="structsir__cl__arg.html">sir_cl_arg</a></div><div class="ttdoc">A command line argument.</div><div class="ttdef"><b>Definition</b> tests_shared.h:198</div></div>
<div class="ttc" id="astructsir__cl__arg_html_a9eb9a5f9208f07a0f500040fb1bca268"><div class="ttname"><a href="structsir__cl__arg.html#a9eb9a5f9208f07a0f500040fb1bca268">sir_cl_arg::usage</a></div><div class="ttdeci">const char *const usage</div><div class="ttdoc">(e.g.</div><div class="ttdef"><b>Definition</b> tests_shared.h:200</div></div>
<div class="ttc" id="astructsir__cl__arg_html_aea028faff6351db0e5ab6385f2d3a4a2"><div class="ttname"><a href="structsir__cl__arg.html#aea028faff6351db0e5ab6385f2d3a4a2">sir_cl_arg::desc</a></div><div class="ttdeci">const char *const desc</div><div class="ttdoc">(e.g.</div><div class="ttdef"><b>Definition</b> tests_shared.h:201</div></div>
<div class="ttc" id="astructsir__cl__config_html"><div class="ttname"><a href="structsir__cl__config.html">sir_cl_config</a></div><div class="ttdoc">Shared command line configuration.</div><div class="ttdef"><b>Definition</b> tests_shared.h:205</div></div>
<div class="ttc" id="astructsir__cl__config_html_a44a0607e99fafb064d5c4d3a675e2ff9"><div class="ttname"><a href="structsir__cl__config.html#a44a0607e99fafb064d5c4d3a675e2ff9">sir_cl_config::only</a></div><div class="ttdeci">bool only</div><div class="ttdoc">–wait</div><div class="ttdef"><b>Definition</b> tests_shared.h:208</div></div>
<div class="ttc" id="astructsir__cl__config_html_abbe71d15c15073e2b4e6c7be16dc7ad3"><div class="ttname"><a href="structsir__cl__config.html#abbe71d15c15073e2b4e6c7be16dc7ad3">sir_cl_config::to_run</a></div><div class="ttdeci">size_t to_run</div><div class="ttdoc">–only</div><div class="ttdef"><b>Definition</b> tests_shared.h:209</div></div>
<div class="ttc" id="astructsir__cl__config_html_ae73cba5e0fd464e754b96bca6055d30f"><div class="ttname"><a href="structsir__cl__config.html#ae73cba5e0fd464e754b96bca6055d30f">sir_cl_config::wait</a></div><div class="ttdeci">bool wait</div><div class="ttdoc">–leave-logs</div><div class="ttdef"><b>Definition</b> tests_shared.h:207</div></div>
<div class="ttc" id="astructsir__test_html"><div class="ttname"><a href="structsir__test.html">sir_test</a></div><div class="ttdoc">Maps a test function to a human-readable name and some metadata.</div><div class="ttdef"><b>Definition</b> tests_shared.h:190</div></div>
<div class="ttc" id="astructsir__test_html_a2b04eee959172419a381381ede8f30b4"><div class="ttname"><a href="structsir__test.html#a2b04eee959172419a381381ede8f30b4">sir_test::pass</a></div><div class="ttdeci">bool pass</div><div class="ttdoc">Whether to run the test or not.</div><div class="ttdef"><b>Definition</b> tests_shared.h:194</div></div>
<div class="ttc" id="astructsir__test_html_a8d695474f2b903dc60bde93fc7aedc98"><div class="ttname"><a href="structsir__test.html#a8d695474f2b903dc60bde93fc7aedc98">sir_test::run</a></div><div class="ttdeci">bool run</div><div class="ttdoc">The function pointer.</div><div class="ttdef"><b>Definition</b> tests_shared.h:193</div></div>
<div class="ttc" id="astructsir__test_html_a97462eb5ce36fd1356a8a7ba8124194e"><div class="ttname"><a href="structsir__test.html#a97462eb5ce36fd1356a8a7ba8124194e">sir_test::fn</a></div><div class="ttdeci">sir_test_fn fn</div><div class="ttdoc">The test&#39;s name.</div><div class="ttdef"><b>Definition</b> tests_shared.h:192</div></div>
<div class="ttc" id="astructsir__time_html"><div class="ttname"><a href="structsir__time.html">sir_time</a></div><div class="ttdoc">Internally-used time value type.</div><div class="ttdef"><b>Definition</b> types.h:281</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.html">tests</a></li><li class="navelem"><b>tests_shared.h</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
  </ul>
</div>
</body>
</html>
